const Gettext = imports.gettext.domain('gnome-shell');
const _ = Gettext.gettext;
+const History = imports.misc.history;
const Main = imports.ui.main;
const MessageTray = imports.ui.messageTray;
this._oldMaxScrollAdjustment = adjustment.upper;
}));
+ this._inputHistory = new History.HistoryManager({ entry: this._responseEntry.clutter_text });
+
this._history = [];
this._timestampTimeoutId = 0;
},
if (text == '')
return;
+ this._inputHistory.addItem(text);
+
// Telepathy sends out the Sent signal for us.
// see Source._messageSent
this._responseEntry.set_text('');